// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import Vuex from 'vuex'
import 'nprogress/nprogress.css'
import Qs from 'qs' 
import { CONFIG } from './config/index.js'
Vue.use(CONFIG)
Vue.use(Vuex)
Vue.use(ElementUI)
Vue.prototype.$qs = Qs
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App },
  render:h=>h(App)
})
